﻿@model SchoolProject2012.Domain.Contactentreprise

@{
    ViewBag.Title = "ERP ingesup";
    Layout = "~/Areas/Shared/Views/Shared/_Layout.cshtml";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
        <p>@Html.LabelFor(model => model.idEntreprise) @Html.DropDownListFor(x => x.idEntreprise, ViewBag.entreprises as MultiSelectList)</p>
        <p>@Html.LabelFor(model => model.prenom)</p>
        <p>@Html.EditorFor(model => model.prenom) @Html.ValidationMessageFor(model => model.prenom)</p>
        <p>@Html.LabelFor(model => model.telephone)</p>
        <p>@Html.EditorFor(model => model.telephone) @Html.ValidationMessageFor(model => model.telephone)</p>
        <p>@Html.LabelFor(model => model.mobile)</p>
        <p>@Html.EditorFor(model => model.mobile) @Html.ValidationMessageFor(model => model.mobile)</p>
        <p>@Html.LabelFor(model => model.mail)</p>
        <p>@Html.EditorFor(model => model.mail) @Html.ValidationMessageFor(model => model.mail)</p>
        <p>@Html.LabelFor(model => model.infoComp)</p>
        <p>@Html.EditorFor(model => model.infoComp) @Html.ValidationMessageFor(model => model.infoComp)</p>

        <p><input type="submit" value="Valider" /></p>
}
